namespace Chimp.Core
{
    public class ChimpState
    {
        public ChimpEventHandler Handler;
        public ChimpWidget UI;
        public void BeginTransient(ChimpTransient t)
        {

            ChimpApp.BeginTransient(t);

        }

        public virtual void OnPause()
        {
            UI = ChimpUI.UIRoot;
            Handler = ChimpUI.Handler;
        }

        public virtual void OnResume()
        {
            ChimpUI.UIRoot = UI;
            ChimpUI.Handler = Handler;
        }

        public virtual void OnStart()
        {
        }

        public virtual void OnStop()
        {
        }

        public virtual void OnUpdate()
        {
        }

        public virtual void OnDraw()
        {
        }
    }
}